package com.test.demo2;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;


//@ComponentScan(basePackages ={
//        "com.test.demo1.controller",
//        "com.test.demo2"
//})
//@SpringBootApplication
@SpringBootApplication(scanBasePackages = {"com.test.demo2", "com.test.demo1.controller"})
public class DemoApplication {
    public static void main(String[] args) {
        SpringApplication.run(DemoApplication.class, args);
    }
}
